﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>title</title>
    <meta content="$homeContent.getURI('favicon.ico')" itemprop="image">
    <link rel="shortcut icon" href="$homeContent.getURI('favicon.ico')" type="image/x-icon"/>
    <link href="/assets/style.css" rel="stylesheet" type="text/css" /> 
    <link href="/assets/wallpaper.css" rel="stylesheet" type="text/css" /> 
    <link href="/assets/miniui/portal/portal.css" rel="stylesheet" type="text/css" />  
            
    <script src="/assets/miniui/boot.js" type="text/javascript"></script>
    <link href="/assets/miniui/miniui/themes/blue/skin.css" rel="stylesheet" type="text/css" />  
           
    <script src="/assets/echarts-2.2.1/build/dist/echarts-all.js" type="text/javascript"></script>
            
    <script src="/assets/js/util/util.js" type="text/javascript"></script>
    <script src="/assets/jcookie/jquery.cookie.js" type="text/javascript"></script>
    <script src="/assets/miniui/portal/Portal.js" type="text/javascript"></script>
    <script src="/assets/zdialog/zDialog.js" type="text/javascript"></script>
    <script src="/assets/zdialog/zDrag.js" type="text/javascript"></script>





@*    <script src="$adminContent.getURI('assets/swfupload/swfupload.js')" type="text/javascript"></script>
    <script src="$adminContent.getURI('assets/Plupload/demo/js/plupload/plupload.full.min.js')"></script>
    <script src="$adminContent.getURI('assets/Plupload/demo/js/qiniu.js')"></script>*@
    <link href="/assets/xtjm.css" rel="stylesheet" type="text/css" />
    <link href="/assets/xtjm_home.css" rel="stylesheet" type="text/css" />
    <style>
        .my-mini-tree .mini-tree-icon {
            background-color: rgba(140, 178, 226, 0);
        }
    </style>

</head>

<body>
    <div class="mini-toolbar" style="padding:2px;border-top:0;border-left:0;border-right:0;">
            <table style="width:100%;">
                <tr>
                <td style="width:100%;" id="container">

                     
                </td>

                <td style="white-space:nowrap;">
                       <a class="mini-button" iconCls="icon-save" plain="true" onclick="CloseWindow('ok')">确定</a>
                       <a class="mini-button" iconCls="icon-cancel" plain="true" onclick="CloseWindow('cancel')">清除</a>
                </td>
                </tr>
             </table>



    </div>


    <div class="mini-fit">    
        <ul id="tree1" class="mini-tree my-mini-tree" url="/Sys/MenuTree" 
    	    style="width:200px;padding:5px;overflow:auto;" showTreeIcon="true" textField="text" idField="id" parentField="pid" 
    	    resultAsTree="false"  expandOnLoad="true" checkRecursive="true" >
        </ul>
    </div>

</body>

    <script type="text/javascript">
        mini.parse();

    var tree = mini.get("tree1");

    //获取选中数据
    function GetData() {
        var node = tree.getSelectedNode();
        return node;
    }

    //关闭窗体
    function CloseWindow(action) {
	    if (window.CloseOwnerWindow) 
	    	return window.CloseOwnerWindow(action);
	    else 
	      window.close();
	}

	var url = window.location.toString(); ;

	if (url.indexOf("nodeid") == -1) {
	    
	}
	else {
	    var id = url.split("nodeid=");

	    id = id[1].split("&");

	    var node = tree.getNode(id[0]);
	    tree.selectNode(node);
	}
</script>

</html>



